﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;


namespace PayPal.Unused
{
    public partial class OrderReview : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        //protected void LocalOrderReview()
        //{
        //    var PaymentOption = "PayPal";

        //    if (PaymentOption == "PayPal")
        //    {
        //        NVPAPICaller test = new NVPAPICaller();

        //        string retMsg = "";
        //        string token = "";
        //        string payerId = "";
        //        string shippingAddress = "";

        //        token = Session["token"].ToString();

        //        bool ret = test.GetShippingDetails(token, ref payerId, ref shippingAddress, ref retMsg);
        //        if (ret)
        //        {
        //            Session["payerId"] = payerId;
        //            Response.Write(shippingAddress);
        //            Response.Write(retMsg);
        //        }
        //        else
        //        {
        //            Response.Redirect("APIError.aspx?" + retMsg);
        //        }
        //    }
        //}
    }
}